home *** CD-ROM | disk | FTP | other *** search
/ The Macintosh Demo: Applications / Apple-MacintoshDemoApplicationsCD-1.0-1992.iso / More Information / Personal Press 2.0 / PPPouch / AutoCreate / Newsletters / _CTCreateTOC < prev    next >
MacBinary  |  1992-06-08  |  2.5 KB  |  [SGPA/SCPG]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: _CTCreateTOC

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sun Jun 7 20:00:00 1992, modified Sun Jun 7 20:00:00 1992, creator 'SCPG', type 'SGPA', 1864 bytes "_CTCreateTOC" , at 0x7c8 405 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[SGPA]
macFileCreator[SCPG]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 5f 43 54 43 72 65 | 61 74 65 54 4f 43 00 00 |.._CTCre|ateTOC..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 47 50 41 53 43 50 | 47 01 00 00 00 00 00 00 |.SGPASCP|G.......|
|00000050| 00 00 00 00 00 07 48 00 | 00 01 95 a6 58 53 80 a6 |......H.|....XS..|
|00000060| 58 53 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |XS......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 af 1c 00 00 |........|........|
|00000080| 6f 6e 20 43 72 65 61 74 | 65 54 4f 43 0d 47 6c 6f |on Creat|eTOC.Glo|
|00000090| 62 61 6c 20 76 54 69 6d | 65 73 0d 0d 70 75 74 20 |bal vTim|es..put |
|000000a0| 22 75 6e 6b 6e 6f 77 6e | 22 20 69 6e 74 6f 20 54 |"unknown|" into T|
|000000b0| 68 65 53 74 6f 72 69 65 | 73 0d 70 75 74 20 30 20 |heStorie|s.put 0 |
|000000c0| 69 6e 74 6f 20 54 6f 74 | 61 6c 53 74 6f 72 69 65 |into Tot|alStorie|
|000000d0| 73 0d 0d 2d 2d 20 46 69 | 6e 64 20 61 6c 6c 20 74 |s..-- Fi|nd all t|
|000000e0| 68 65 20 53 74 6f 72 69 | 65 73 20 0d 72 65 70 65 |he Stori|es .repe|
|000000f0| 61 74 20 77 69 74 68 20 | 70 20 3d 20 31 20 74 6f |at with |p = 1 to|
|00000100| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 61 67 65 73 | number |of pages|
|00000110| 0d 73 65 74 20 63 75 72 | 72 65 6e 74 70 61 67 65 |.set cur|rentpage|
|00000120| 20 74 6f 20 70 0d 52 65 | 70 65 61 74 20 77 69 74 | to p.Re|peat wit|
|00000130| 68 20 78 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h x = 1 |to the n|
|00000140| 75 6d 62 65 72 20 6f 66 | 20 6f 62 6a 65 63 74 73 |umber of| objects|
|00000150| 0d 73 65 74 20 74 68 65 | 20 69 74 65 6d 64 65 6c |.set the| itemdel|
|00000160| 20 74 6f 20 22 5c 22 0d | 69 66 20 28 57 6f 72 64 | to "\".|if (Word|
|00000170| 20 31 20 6f 66 20 6e 61 | 6d 65 20 6f 66 20 6f 62 | 1 of na|me of ob|
|00000180| 6a 65 63 74 20 78 20 3d | 20 22 53 74 6f 72 79 22 |ject x =| "Story"|
|00000190| 29 20 61 6e 64 20 c2 0d | 28 77 6f 72 64 20 32 20 |) and ..|(word 2 |
|000001a0| 6f 66 20 69 74 65 6d 20 | 32 20 6f 66 20 6e 61 6d |of item |2 of nam|
|000001b0| 65 20 6f 66 20 6f 62 6a | 65 63 74 20 78 20 ad 20 |e of obj|ect x . |
|000001c0| 22 74 69 74 6c 65 22 29 | 20 74 68 65 6e 20 2d 2d |"title")| then --|
|000001d0| 20 46 6f 75 6e 64 20 61 | 20 73 74 6f 72 79 21 0d | Found a| story!.|
|000001e0| 73 65 74 20 74 68 65 20 | 69 74 65 6d 64 65 6c 20 |set the |itemdel |
|000001f0| 22 2c 22 0d 0d 2d 2d 20 | 43 68 65 63 6b 20 69 66 |","..-- |Check if|
|00000200| 20 77 65 20 68 61 76 65 | 20 74 68 69 73 20 73 74 | we have| this st|
|00000210| 6f 72 79 20 61 6c 72 65 | 61 64 79 2e 2e 2e 0d 70 |ory alre|ady....p|
|00000220| 75 74 20 22 4e 6f 20 4d | 61 74 63 68 22 20 69 6e |ut "No M|atch" in|
|00000230| 74 6f 20 46 69 6e 64 52 | 65 73 75 6c 74 0d 72 65 |to FindR|esult.re|
|00000240| 70 65 61 74 20 77 69 74 | 68 20 79 20 3d 20 31 20 |peat wit|h y = 1 |
|00000250| 74 6f 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |to numbe|r of ite|
|00000260| 6d 73 20 69 6e 20 54 68 | 65 53 74 6f 72 69 65 73 |ms in Th|eStories|
|00000270| 0d 2d 2d 20 53 74 6f 72 | 79 20 5b 31 5d 20 3d 20 |.-- Stor|y [1] = |
|00000280| 53 74 6f 72 79 20 5b 31 | 5d 0d 69 66 20 77 6f 72 |Story [1|].if wor|
|00000290| 64 20 32 20 6f 66 20 6e | 61 6d 65 20 6f 66 20 6f |d 2 of n|ame of o|
|000002a0| 62 6a 65 63 74 20 78 20 | 3d 20 77 6f 72 64 20 32 |bject x |= word 2|
|000002b0| 20 6f 66 20 69 74 65 6d | 20 79 20 6f 66 20 54 68 | of item| y of Th|
|000002c0| 65 53 74 6f 72 69 65 73 | 20 74 68 65 6e 0d 70 75 |eStories| then.pu|
|000002d0| 74 20 22 4d 61 74 63 68 | 22 20 69 6e 74 6f 20 46 |t "Match|" into F|
|000002e0| 69 6e 64 52 65 73 75 6c | 74 0d 65 6e 64 20 69 66 |indResul|t.end if|
|000002f0| 0d 65 6e 64 20 72 65 70 | 65 61 74 20 2d 2d 20 46 |.end rep|eat -- F|
|00000300| 6f 75 6e 64 20 4d 61 74 | 63 68 3f 0d 0d 69 66 20 |ound Mat|ch?..if |
|00000310| 46 69 6e 64 52 65 73 75 | 6c 74 20 3d 20 22 4e 6f |FindResu|lt = "No|
|00000320| 20 4d 61 74 63 68 22 20 | 74 68 65 6e 0d 70 75 74 | Match" |then.put|
|00000330| 20 54 6f 74 61 6c 53 74 | 6f 72 69 65 73 20 2b 20 | TotalSt|ories + |
|00000340| 31 20 69 6e 74 6f 20 54 | 6f 74 61 6c 53 74 6f 72 |1 into T|otalStor|
|00000350| 69 65 73 0d 70 75 74 20 | 74 68 65 20 6e 61 6d 65 |ies.put |the name|
|00000360| 20 6f 66 20 6f 62 6a 65 | 63 74 20 78 20 69 6e 74 | of obje|ct x int|
|00000370| 6f 20 69 74 65 6d 20 54 | 6f 74 61 6c 53 74 6f 72 |o item T|otalStor|
|00000380| 69 65 73 20 6f 66 20 54 | 68 65 53 74 6f 72 69 65 |ies of T|heStorie|
|00000390| 73 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 65 6d 70 |s.end if|.put emp|
|000003a0| 74 79 20 69 6e 74 6f 20 | 46 69 6e 64 52 65 73 75 |ty into |FindResu|
|000003b0| 6c 74 0d 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |lt..end |if.end r|
|000003c0| 65 70 65 61 74 20 2d 2d | 20 4f 62 6a 65 63 74 73 |epeat --| Objects|
|000003d0| 0d 65 6e 64 20 72 65 70 | 65 61 74 20 2d 2d 20 50 |.end rep|eat -- P|
|000003e0| 61 67 65 73 0d 0d 73 65 | 74 20 63 75 72 72 65 6e |ages..se|t curren|
|000003f0| 74 70 61 67 65 20 74 6f | 20 31 0d 73 65 74 20 69 |tpage to| 1.set i|
|00000400| 74 65 6d 64 65 6c 20 74 | 6f 20 22 2c 22 0d 0d 73 |temdel t|o ","..s|
|00000410| 65 74 20 6c 6f 63 6b 73 | 63 72 65 65 6e 20 74 6f |et locks|creen to|
|00000420| 20 74 72 75 65 0d 0d 2d | 2d 20 50 75 74 20 22 54 | true..-|- Put "T|
|00000430| 61 62 6c 65 20 6f 66 20 | 43 6f 6e 74 65 6e 74 73 |able of |Contents|
|00000440| 22 20 74 69 74 6c 65 20 | 69 6e 74 6f 20 54 4f 43 |" title |into TOC|
|00000450| 20 62 6f 78 2e 0d 70 75 | 74 20 69 74 65 6d 20 31 | box..pu|t item 1|
|00000460| 20 6f 66 20 73 74 6f 72 | 79 6c 6f 63 20 6f 66 20 | of stor|yloc of |
|00000470| 6f 62 6a 65 63 74 20 22 | 74 6f 63 22 20 69 6e 74 |object "|toc" int|
|00000480| 6f 20 54 68 65 54 4f 43 | 53 74 6f 72 79 0d 0d 64 |o TheTOC|Story..d|
|00000490| 6f 20 22 70 75 74 20 22 | 20 26 20 71 75 6f 74 65 |o "put "| & quote|
|000004a0| 20 26 20 22 54 61 62 6c | 65 20 6f 66 20 43 6f 6e | & "Tabl|e of Con|
|000004b0| 74 65 6e 74 73 22 20 26 | 20 71 75 6f 74 65 20 26 |tents" &| quote &|
|000004c0| 22 20 26 20 63 72 20 22 | 20 26 20 c2 0d 22 20 69 |" & cr "| & .." i|
|000004d0| 6e 74 6f 20 73 74 6f 72 | 79 20 22 20 26 20 54 68 |nto stor|y " & Th|
|000004e0| 65 54 4f 43 53 74 6f 72 | 79 0d 64 6f 20 22 73 65 |eTOCStor|y.do "se|
|000004f0| 6c 65 63 74 20 74 65 78 | 74 20 70 61 72 61 67 72 |lect tex|t paragr|
|00000500| 61 70 68 20 31 20 6f 66 | 20 73 74 6f 72 79 20 22 |aph 1 of| story "|
|00000510| 26 20 54 68 65 54 4f 43 | 53 74 6f 72 79 0d 73 65 |& TheTOC|Story.se|
|00000520| 74 20 74 65 78 74 66 6f | 6e 74 20 74 6f 20 76 54 |t textfo|nt to vT|
|00000530| 69 6d 65 73 0d 73 65 74 | 20 74 65 78 74 73 69 7a |imes.set| textsiz|
|00000540| 65 20 74 6f 20 31 34 0d | 73 65 74 20 74 65 78 74 |e to 14.|set text|
|00000550| 66 61 63 65 20 74 6f 20 | 69 74 61 6c 69 63 0d 73 |face to |italic.s|
|00000560| 65 74 20 74 65 78 74 66 | 61 63 65 20 74 6f 20 62 |et textf|ace to b|
|00000570| 6f 6c 64 0d 73 65 6c 65 | 63 74 20 65 6d 70 74 79 |old.sele|ct empty|
|00000580| 0d 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |..repeat| with x |
|00000590| 3d 20 31 20 74 6f 20 54 | 6f 74 61 6c 53 74 6f 72 |= 1 to T|otalStor|
|000005a0| 69 65 73 0d 70 75 74 20 | 69 74 65 6d 20 78 20 6f |ies.put |item x o|
|000005b0| 66 20 54 68 65 53 74 6f | 72 69 65 73 20 69 6e 74 |f TheSto|ries int|
|000005c0| 6f 20 54 68 65 53 74 6f | 72 79 4f 62 6a 65 63 74 |o TheSto|ryObject|
|000005d0| 0d 73 65 74 20 69 74 65 | 6d 64 65 6c 20 74 6f 20 |.set ite|mdel to |
|000005e0| 22 5c 22 0d 70 75 74 20 | 69 74 65 6d 20 33 20 6f |"\".put |item 3 o|
|000005f0| 66 20 54 68 65 53 74 6f | 72 79 4f 62 6a 65 63 74 |f TheSto|ryObject|
|00000600| 20 69 6e 74 6f 20 54 68 | 65 50 61 67 65 0d 73 65 | into Th|ePage.se|
|00000610| 74 20 69 74 65 6d 64 65 | 6c 20 74 6f 20 22 2c 22 |t itemde|l to ","|
|00000620| 0d 0d 73 65 74 20 63 75 | 72 72 65 6e 74 70 61 67 |..set cu|rrentpag|
|00000630| 65 20 74 6f 20 54 68 65 | 50 61 67 65 0d 70 75 74 |e to The|Page.put|
|00000640| 20 75 73 65 72 6e 61 6d | 65 20 6f 66 20 73 74 6f | usernam|e of sto|
|00000650| 72 79 20 28 69 74 65 6d | 20 31 20 6f 66 20 73 74 |ry (item| 1 of st|
|00000660| 6f 72 79 6c 6f 63 20 6f | 66 20 6f 62 6a 65 63 74 |oryloc o|f object|
|00000670| 20 54 68 65 53 74 6f 72 | 79 4f 62 6a 65 63 74 29 | TheStor|yObject)|
|00000680| 20 69 6e 74 6f 20 53 74 | 6f 72 79 4e 61 6d 65 0d | into St|oryName.|
|00000690| 73 65 74 20 63 75 72 72 | 65 6e 74 70 61 67 65 20 |set curr|entpage |
|000006a0| 74 6f 20 31 0d 70 75 74 | 20 53 74 6f 72 79 4e 61 |to 1.put| StoryNa|
|000006b0| 6d 65 20 26 20 6e 75 6d | 74 6f 63 68 61 72 28 39 |me & num|tochar(9|
|000006c0| 29 20 26 20 54 68 65 50 | 61 67 65 20 26 20 63 72 |) & TheP|age & cr|
|000006d0| 20 61 66 74 65 72 20 73 | 74 6f 72 79 20 54 68 65 | after s|tory The|
|000006e0| 54 4f 43 53 74 6f 72 79 | 0d 0d 65 6e 64 20 72 65 |TOCStory|..end re|
|000006f0| 70 65 61 74 0d 0d 73 65 | 6c 65 63 74 20 74 65 78 |peat..se|lect tex|
|00000700| 74 20 6c 69 6e 65 20 32 | 20 74 6f 20 28 74 6f 74 |t line 2| to (tot|
|00000710| 61 6c 53 74 6f 72 69 65 | 73 20 2b 20 32 29 20 6f |alStorie|s + 2) o|
|00000720| 66 20 73 74 6f 72 79 20 | 54 68 65 54 4f 43 53 74 |f story |TheTOCSt|
|00000730| 6f 72 79 0d 73 65 74 20 | 74 65 78 74 73 69 7a 65 |ory.set |textsize|
|00000740| 20 74 6f 20 31 30 0d 73 | 65 74 20 74 65 78 74 66 | to 10.s|et textf|
|00000750| 61 63 65 20 74 6f 20 69 | 74 61 6c 69 63 0d 63 6c |ace to i|talic.cl|
|00000760| 65 61 72 20 52 75 6c 65 | 72 54 61 62 73 0d 73 65 |ear Rule|rTabs.se|
|00000770| 74 20 52 75 6c 65 72 54 | 61 62 20 69 6e 20 69 6e |t RulerT|ab in in|
|00000780| 63 68 65 73 20 61 74 20 | 31 2e 35 20 74 6f 20 74 |ches at |1.5 to t|
|00000790| 79 70 65 20 72 69 67 68 | 74 20 66 69 6c 6c 20 22 |ype righ|t fill "|
|000007a0| 2e 22 0d 65 6e 64 20 43 | 72 65 61 74 65 54 4f 43 |.".end C|reateTOC|
|000007b0| 0d 00 00 04 00 09 00 02 | 07 3d 01 bc 00 00 00 00 |........|.=......|
|000007c0| 00 3c 00 14 01 42 01 ec | 00 00 00 00 00 00 00 00 |.<...B..|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 59 | 00 00 00 59 00 00 00 3c |.......Y|...Y...<|
|00000810| 12 67 22 4a ae 5b 14 67 | 1a 70 03 2f 00 20 6e 5b |.g"J.[.g|.p./. n[|
|00000820| 14 2f 08 20 50 20 50 22 | 68 16 00 14 4e 91 70 00 |./. P P"|h...N.p.|
|00000830| 0c 5f 43 54 43 72 65 61 | 74 65 54 4f 43 6e 02 00 |._CTCrea|teTOCn..|
|00000840| 00 00 53 47 50 41 53 43 | 50 47 01 00 ff ff ff ff |..SGPASC|PG......|
|00000850| 00 00 53 47 50 41 53 43 | 50 47 01 00 ff ff ff ff |..SGPASC|PG......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 a6 58 53 80 00 00 | 07 48 00 00 01 95 08 48 |...XS...|.H.....H|
|00000880| c7 90 18 2f 0c 2f 0b 20 | 53 20 50 22 68 01 24 4e |..././. |S P"h.$N|
|00000890| 91 2d 40 5b 12 20 54 4a | a8 ac 28 2b 12 4a a8 00 |.-@[. TJ|..(+.J..|
|000008a0| 2a 14 67 1c 70 03 2f 00 | 2f 28 ac 64 ac 18 20 50 |*.g.p./.|/(.d.. P|
|000008b0| 20 50 22 68 00 14 4e 91 | 70 00 50 8f 60 02 55 7f | P"h..N.|p.P.`.U.|
|000008c0| 11 21 6e 5b ac 7f 2d 92 | 12 2f 0c 4e ba 01 00 5c |.!n[..-.|./.N...\|
|000008d0| 14 20 54 08 e8 00 07 00 | 26 12 2f 0c 4e ad 13 15 |. T.....|&./.N...|
|000008e0| aa 58 8f 2f 00 49 13 15 | d2 4f ef 00 0c 01 60 28 |.X./.I..|.O....`(|
|000008f0| da 5b 38 5b 39 5b 3a 3b | 57 3e 50 3d 67 73 02 18 |.[8[9[:;|W>P=gs..|
|00000900| 00 00 00 55 19 35 e7 10 | 3f e5 32 30 00 04 00 00 |...U.5..|?.20....|
|00000910| 00 00 00 00 00 00 a6 38 | 21 93 a6 2d 77 35 a6 00 |.......8|!..-w5..|
|00000920| 85 cd 00 03 47 8c 00 02 | 00 1c 00 09 0c 6e 65 77 |....G...|.....new|
|00000930| 73 6c 65 74 74 65 72 73 | ba 00 07 73 74 65 76 65 |sletters|...steve|
|00000940| 20 63 00 01 33 00 0c 5f | 43 54 43 72 65 61 74 65 | c..3.._|CTCreate|
|00000950| 54 4f 43 00 00 00 00 00 | 00 00 00 01 00 00 00 01 |TOC.....|........|
|00000960| 59 00 00 00 59 00 00 00 | 3c 00 f8 de 78 0c dc 00 |Y...Y...|<...x...|
|00000970| 00 00 1c 00 32 00 00 63 | 6b 69 64 00 00 00 0a 00 |....2..c|kid.....|
|00000980| 80 00 00 00 00 00 00 00 | fa c3 e4 09 50 72 6f 6a |........|....Proj|
|00000990| 65 63 74 6f 72 00 00 00 | 00 00 00 00 00 00 00 00 |ector...|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+